package com.huatai.datacenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Lion
 * @date 2023/3/20  10:39
 */
@Data
@TableName("tb_cluster")
@ApiModel("KAFKA集群信息")
public class ClusterEntity extends BaseEntity {

	@TableField("clusterName")
	@ApiModelProperty("集群名称")
	private String clusterName;

	@TableField("zkpAddress")
	@ApiModelProperty("zookeeper地址")
	private String zkpAddress;

	@TableField("broker")
	@ApiModelProperty("主机地址")
	private String broker;

	@TableField("status")
	@ApiModelProperty("是否启动")
	private int status;

	@TableField("kafkaVersion")
	@ApiModelProperty("kafka版本")
	private String kafkaVersion;

}
